package com.zs.diveinspringbootkotlin.annotation

import com.zs.diveinspringbootkotlin.configuration.HelloWorldConfiguration
import org.springframework.context.annotation.ImportSelector
import org.springframework.core.type.AnnotationMetadata

/**
 *
 * @description
 * @author madison
 * @date 2021/6/3 18:32
 *
 */
class HelloWorldImportSelector : ImportSelector {
    override fun selectImports(importingClassMetadata: AnnotationMetadata): Array<String> {
        return arrayOf(HelloWorldConfiguration::class.java.name)
    }
}